﻿#include "FITKNastranAbstractAdaptor.h"

namespace Nastran
{

FITKNastranAbstractAdaptor::~FITKNastranAbstractAdaptor()
{
}

// Set the BDF reader for the FITKNastranAbstractAdaptor
void FITKNastranAbstractAdaptor::setReader(FITKNastranBDFReader *reader)
{
    _reader = reader;
}

// Set the helper for the FITKNastranAbstractAdaptor
void FITKNastranAbstractAdaptor::setHelper(InpNastranReaderHelper *helper)
{
    _helper = helper;
}

/**
 * @details
 * The getHelper function is a simple getter that returns the pointer to
 * the InpNastranReaderHelper object stored in the private member variable
 * _helper of the FITKNastranAbstractAdaptor class.
 * This helper object is likely used for reading and interpreting Nastran
 * input files. By retrieving this helper, other parts of the program can
 * utilize the same helper to maintain consistency in reading and interpreting
 * Nastran data. Proper usage of this function ensures that the helper's
 * functionalities are accessible where needed, facilitating the smooth
 * processing of Nastran-related tasks.
 */
InpNastranReaderHelper *FITKNastranAbstractAdaptor::getHelper()
{
    return _helper;
}

// Retrieve the BDF reader from the FITKNastranAbstractAdaptor
FITKNastranBDFReader *FITKNastranAbstractAdaptor::getReader()
{
    return _reader;
}
} // namespace Nastran